///统一存储一些静态变量d
class VariableConfig {
  ///已经播放过的视频
  static List<LocalVideoModel> playedVideoList = [];

  ///视频密
  static dynamic secContent;

  ///token异常弹窗
  static bool onMobileLoginView = false;

  static int? totalWatch;

  static String refreshPreSaleCountDownTime = "refreshPreSaleCountDownTime";

  static String refreshMinePage = "refreshMinePage";

  static String closeFloatingCountDownTime = "closeFloatingCountDownTime";

  static bool isNeedCloseCountDownTimeFloating = false;
}

///本地视频存储信息
class LocalVideoModel {
  String? videoID;

  //日期
  int? day;

  static LocalVideoModel fromMap(Map<String, dynamic>? map) {
    map ??= {};
    LocalVideoModel bean = LocalVideoModel();
    bean.videoID = map['videoID'];
    bean.day = map["day"];
    return bean;
  }

  Map toJson() => {
        "videoID": videoID,
        "day": day,
      };
}
